package cn.iocoder.yudao.module.locale.controller.admin.tabledata.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 表数据国际化新增/修改 Request VO")
@Data
public class TableDataSaveReqVO {

    @Schema(description = "元数据Id", example = "26739")
    private Long id;

    @Schema(description = "语言代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "语言代码不能为空")
    private String languageCode;

    @Schema(description = "表名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "表名不能为空")
    private String tableName;

    @Schema(description = "行Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24644")
    @NotEmpty(message = "行Id不能为空")
    private String rowId;

    @Schema(description = "列名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "列名不能为空")
    private String columnName;

    @Schema(description = "列原始的值", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "列原始的值不能为空")
    private String columnRawValue;

    @Schema(description = "列翻译的值", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "列翻译的值不能为空")
    private String columnTranslatedValue;

    @Schema(description = "分类排序")
    private Integer sort;

    @Schema(description = "开启状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "开启状态不能为空")
    private Integer status;

}